home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / mach10.zip / FILETRAN.BAT < prev    next >
DOS Batch File  |  1990-06-27  |  1KB  |  34 lines

  1. rem 1 = Protocol type     4 = Baud rate
  2. rem 2 = Path              5 = Com port
  3. rem 3 = File name
  4. \binkley\capture off
  5. if exist bimodem.pth del bimodem.pth
  6. if %6==S goto send
  7. if %6==R goto receive
  8. goto exit
  9. :send
  10. if %1==W \scottbbs\extproto\wxmodem -b %4 -l com%5 -f %2\%3 -s
  11. if %1==Z \scottbbs\extproto\dsz port %5 sz %2\%3
  12. if %1==X \scottbbs\extproto\dsz port %5 sx %2\%3
  13. if %1==C \scottbbs\extproto\dsz port %5 sx %2\%3
  14. if %1==Y \scottbbs\extproto\qmxfer -C -S -F %2\%3 -L com%5 -B %4 -P Y
  15. if %1==M \scottbbs\extproto\mlink PORT %5 SPEED %4 SM %2\%3
  16. if %1==J \scottbbs\extproto\jmodem S%5 %2\%3
  17. if %1==S \scottbbs\extproto\bimodem /C c:\scottbbs\extproto\bimodem.cfg /U %2\%3
  18. if %1==H \scottbbs\extproto\HyperP BAUD:%4 DISPLAY:OFF PORT:%5 SEND %2\%3
  19. goto exit
  20. :receive
  21. if %1==W \scottbbs\extproto\wxmodem -b %4 -l com%5 -f %2\%3 -r
  22. if %1==Z \scottbbs\extproto\dsz port %5 rz %2\%3
  23. if %1==X \scottbbs\extproto\dsz port %5 rx %2\%3
  24. if %1==C \scottbbs\extproto\dsz port %5 rc %2\%3
  25. if %1==Y \scottbbs\extproto\qmxfer -C -R -F %2\%3 -L com%5 -B %4 -P Y
  26. if %1==B \scottbbs\extproto\dsz port %5 rb %2\%3
  27. if %1==M \scottbbs\extproto\mlink PORT %5 SPEED %4 RM %2
  28. if %1==J \scottbbs\extproto\jmodem R%5 %2\%3
  29. if %1==S \scottbbs\extproto\bimodem /C c:\scottbbs\extproto\bimodem.cfg /D %2\%3
  30. if %1==H \scottbbs\extproto\HyperP BAUD:%4 DISPLAY:OFF PORT:%5 RECEIVE %2\%3
  31. goto exit
  32. :exit
  33. \binkley\capture on
  34.